from django.urls import path,re_path
from . import views
urlpatterns=[
    re_path('^$',views.IndexView.as_view(),name='index'),

    re_path('^news_tech/$',views.IndexView.as_view(),name='index'),
    re_path('^display/$',views.Display.as_view(),name='display'),
    re_path('^list/(?P<channel_id>\d+)/(?P<page_num>\d+)/$',views.IndexView.as_view(),name='news_list'),
    re_path('^detail/(?P<article_id>\d+)/$',views.DetailView.as_view()),
]